<template>
    <div>
        <view class="status_bar">
            <!-- 这里是状态栏 -->
        </view>
        <div class="mainContent">
            <div class="smallTitle">请选择</div>
            <div class="bigTiltle">
                您想成为
            </div>
            <div class="middleBox">
                <image class="middlePic" src="~@/static/images/Start_bg@2x.min.png" alt=""/>
            </div>
            <div class="selectBox">
                <div class="selectBtn">
                    <div class="selectIcon" @click="activeIndex=0" :class="{active:activeIndex===0}">
                        <image class="selectIconPic" src="~@/static/images/Frame_4.min.png"/>
                    </div>
                    <div class="selectText">
                        我是上帝
                    </div>
                </div>
                <div class="selectBtn">
                    <div class="selectIcon" @click="activeIndex=1" :class="{active:activeIndex===1}">
                        <image class="selectIconPic" src="~@/static/images/Frame_5.min.png"/>
                    </div>
                    <div class="selectText">
                        我是骑手
                    </div>
                </div>

            </div>

            <div class="confimBox">
                <div
                    class="confimBtn"
                    :class="{'disabled':!authorizedAddress}"
                    @click="goToHomePage(activeIndex)"
                >
                    确定
                </div>
            </div>
			
			<div>{{consoleLog}}</div>

        </div>
    </div>
</template>

<script src="./mainEnter.ts" lang="ts"></script>

<style lang="stylus" scoped>
@import './mainEnter.styl';
</style>
